import React from "react";
import {useRouter} from "next/router";
import styles from "./styles.module.scss";

const IndexUser = () => {
    const router = useRouter();
    const indexNumber = router.query.id;

    return (
        <div className={styles.main}>
            <h1 className={styles.te}>Index : {indexNumber}</h1>
        </div>
    )
}

export default IndexUser;
